Introduce old redir program
[lcapit-junk-code.git] / static-data-structures / Makefile
blobe646c96e9f4c04fa427b80faac1082bf9eddcb3d
1 CC=gcc
2 CFLAGS= -Wall -W -Wmissing-declarations -Wmissing-prototypes -g -O0 \
3 -Wredundant-decls -Wshadow -Wbad-function-cast -Wcast-qual
4 PROGS = list queue stack
6 all : $(PROGS)
8 list : list.c
9 $(CC) $(CFLAGS) -o $@ $<
11 queue : queue.c
12 $(CC) $(CFLAGS) -o $@ $<
14 stack : stack.c
15 $(CC) $(CFLAGS) -o $@ $<
17 .PHONY : clean
19 clean :
20 rm -f *~ *.o $(PROGS)