Introduce pet-projects dir
[lcapit-junk-code.git] / jos / Makefile
blob2e02bb30730c3dd061f42b4feede7c2fab39d532
1 CC=gcc
2 CFLAGS= -Wall -W -Wmissing-declarations -Wmissing-prototypes -g -O0 \
3 -Wredundant-decls -Wshadow -Wbad-function-cast -Wcast-qual
4 PROGS= bitmap kernel-stab-dump
6 all : $(PROGS)
8 bitmap : bitmap.c
9 $(CC) $(CFLAGS) -o $@ $< -lreadline -lncurses
11 kernel-stab-dump : kernel-stab-dump.c
12 $(CC) $(CFLAGS) -o $@ $<
14 .PHONY : clean tags
16 tags :
17 rm -f tags
18 find . -name '*.[hcS]' -print | xargs ctags -a
20 clean :
21 rm -f *~ *.o $(PROGS)