box-o-sand/PracticingC/Makefile

22 lines
299 B
Makefile
Raw Normal View History

2011-06-18 18:07:11 +00:00
CD = cd
RM = rm -v
CC := gcc
CFLAGS := -std=c99 -Wall -g
2011-06-18 18:28:00 +00:00
ALL_TARGETS := $(patsubst %.c,%,$(wildcard *.c))
2011-06-18 18:28:00 +00:00
export CD RM CFLAGS
2011-06-13 03:02:18 +00:00
all: $(ALL_TARGETS)
2011-06-18 18:07:11 +00:00
$(CD) gowrikumar && $(MAKE)
$(CD) gdbtut && $(MAKE)
2011-06-13 03:02:18 +00:00
2011-06-17 01:48:15 +00:00
clean:
2011-06-18 18:07:11 +00:00
$(CD) gowrikumar && $(MAKE) clean
$(CD) gdbtut && $(MAKE) clean
2011-06-13 03:02:18 +00:00
2011-06-17 01:48:15 +00:00
.PHONY: all clean