Introduce old redir program
[lcapit-junk-code.git] / linux-kernel / fake-serial / user-land / Makefile
blobe0ccd910daf063a8e2247dfbf4491c5364965266
1 CC=gcc
2 BIN=fstool fsemul test-suite
3 CCFLAGS=-Wall -W -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls \
4 -Wbad-function-cast -Wcast-qual -Wconversion -g
6 all : $(BIN)
8 fstool : fstool.c
9 $(CC) -o $@ $< $(CCFLAGS)
11 fsemul : fsemul.c
12 $(CC) -o $@ $< $(CCFLAGS) -lreadline -lncurses -lefence
14 test-suite: test-suite.c
15 $(CC) -o $@ $< $(CCFLAGS) -lcheck -lefence
17 clean :
18 rm -f *.o *~
19 rm -f $(BIN)