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
|