1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/pkg/microcoap/patches/0002-Add-RIOT-Makefile.patch

41 lines
781 B
Diff
Raw Normal View History

From 021e6371d6915126cf0e9cf7556b9b4a6f3ae14f Mon Sep 17 00:00:00 2001
From: Patrick Grosse <patrick.grosse@uni-muenster.de>
Date: Sat, 25 Mar 2017 10:33:22 +0100
Subject: [PATCH 2/6] Add RIOT Makefile
2015-02-01 17:03:59 +01:00
---
Makefile | 23 +----------------------
1 file changed, 1 insertion(+), 22 deletions(-)
2015-02-01 17:03:59 +01:00
diff --git a/Makefile b/Makefile
index 19175d2..48422e9 100644
2015-02-01 17:03:59 +01:00
--- a/Makefile
+++ b/Makefile
@@ -1,22 +1 @@
2015-02-01 17:03:59 +01:00
-CFLAGS += -Wall -DDEBUG
-# -DIPV6
2015-02-01 17:03:59 +01:00
-SRC = $(wildcard *.c)
-OBJ = $(SRC:%.c=%.o)
-DEPS = $(SRC:%.c=%.d)
-EXEC = coap
-
-all: $(EXEC)
-
--include $(DEPS)
-
-$(EXEC): $(OBJ)
- @$(CC) $(CFLAGS) -o $@ $^
-
-%.o: %.c %.d
- @$(CC) -c $(CFLAGS) -o $@ $<
-
-%.d: %.c
- @$(CC) -MM $(CFLAGS) $< > $@
-
-clean:
- @$(RM) $(EXEC) $(OBJ) $(DEPS)
+include $(RIOTBASE)/Makefile.base
--
2.7.4
2015-02-01 17:03:59 +01:00