Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

wmbus-repeater: cleanup makefile

Make sure that a header file change triggers a rebuild, remove unused
targets and variables.
  • Loading branch information...
commit 99c0f6ccb88499069653f963818b3c2002867194 1 parent c1f133d
@ffainelli authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 wmbus-repeater/src/Makefile
View
8 wmbus-repeater/src/Makefile
@@ -1,9 +1,8 @@
CC=gcc
RM=rm
-CFLAGS+=-I. -I$(KERNEL_SRC)/include
+CFLAGS+=-I.
LFLAGS+=
-DEPS=
-#CXXFLAGS+= -I. -I$(KERNEL_SRC)/include
+DEPS=$(wildcard *.h)
.PHONY: all clean
@@ -12,9 +11,6 @@ all: wmbus-repeater
%.o: %.c $(DEPS)
$(CC) $(CFLAGS) -Wall -c -o $@ $<
-%.o : %.cpp $(DEPS)
- $(CXX) $(CXXFLAGS) -c -o $@ $<
-
wmbus-repeater: main.o amber.o network.o wmbus.o wmbus_dvl.o timedbuff.o
$(CC) -o $@ $^ $(LFLAGS)
Please sign in to comment.
Something went wrong with that request. Please try again.