parent
2a1b479002
commit
cbbb7d34b2
@ -0,0 +1,15 @@
|
||||
CXXFLAGS = # -Wall -Werror
|
||||
LDFLAGS =
|
||||
|
||||
src = $(wildcard ./*/*.c)
|
||||
target = $(patsubst %.c, %, ${src})
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
%:%.cpp
|
||||
$(CXX) ${CXXFLAGS} ${LDFLAGS} $^ -o $@
|
||||
|
||||
all: ${target}
|
||||
|
||||
clean:
|
||||
rm -f ${target}
|
Loading…
Reference in new issue