diff options
Diffstat (limited to 'led/complex1/Makefile.linux')
-rw-r--r-- | led/complex1/Makefile.linux | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/led/complex1/Makefile.linux b/led/complex1/Makefile.linux new file mode 100644 index 0000000..a1edce0 --- /dev/null +++ b/led/complex1/Makefile.linux @@ -0,0 +1,24 @@ +# +# $Id$ +# + +CXXFLAGS=-Wall +LDFLAGS=-lpthread + +PROGRAMS=example + +OBJECTS=main.o menu.o test.o + +all: $(PROGRAMS) + +main.o: main.cc +menu.o: menu.cc +test.o: test.cc + +example: $(OBJECTS) + $(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) + +clean: + rm -f core* $(PROGRAMS) *.o + +install: |