a04a502787
git-subtree-dir: PracticingC git-subtree-mainline:fd87ec8fe9
git-subtree-split:ef128a996f
22 lines
299 B
Makefile
22 lines
299 B
Makefile
CD = cd
|
|
RM = rm -v
|
|
|
|
CC := gcc
|
|
CFLAGS := -std=c99 -Wall -g
|
|
|
|
ALL_TARGETS := $(patsubst %.c,%,$(wildcard *.c))
|
|
|
|
export CD RM CFLAGS
|
|
|
|
|
|
all: $(ALL_TARGETS)
|
|
$(CD) gowrikumar && $(MAKE)
|
|
$(CD) gdbtut && $(MAKE)
|
|
|
|
clean:
|
|
$(CD) gowrikumar && $(MAKE) clean
|
|
$(CD) gdbtut && $(MAKE) clean
|
|
|
|
|
|
.PHONY: all clean
|