mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00

- includes a launch configuration for launching directly from an Eclipse session Change-Id: I238e72894b739f827dd6efba3acef9d304771f0d
15 lines
187 B
Makefile
15 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
|