summaryrefslogtreecommitdiff
path: root/29_outname/Makefile
blob: 7cdf5f1fd1e1c6754ba44d687e4a4839c4cf5949 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
CFLAGS=-Wall -Werror -std=gnu99 -pedantic -ggdb3
OBJS=outname.o outname_test.o
PROGRAM=outname_test

$(PROGRAM): $(OBJS)
        gcc $(CFLAGS) -o $@ $(OBJS)

%.o: %.c outname.h
        gcc -c $(CFLAGS) $<

clean:
        rm -f $(OBJS) $(PROGRAM) *~