mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
16 lines
187 B
Makefile
16 lines
187 B
Makefile
![]() |
all: a.out
|
||
|
|
||
|
CFLAGS=-I. -g3 -O2 -Djeff=2
|
||
|
|
||
|
a.out: hello.o x.o
|
||
|
gcc -g -o a.out $?
|
||
|
|
||
|
hello.o: hello.c somehdr.h
|
||
|
gcc -c $(CFLAGS) hello.c
|
||
|
|
||
|
x.o: x.c
|
||
|
gcc -c $(CFLAGS) $<
|
||
|
|
||
|
clean:
|
||
|
rm *.o *.out
|