This test does not respect custom triples. hidden.c is intended to be built with no debug info, so pass `-g0` after CFLAGS.
11 lines
136 B
Makefile
11 lines
136 B
Makefile
C_SOURCES := main.c
|
|
LD_EXTRAS = hidden.o
|
|
|
|
include Makefile.rules
|
|
|
|
a.out: hidden.o
|
|
|
|
hidden.o: hidden.c
|
|
$(CC) $(CFLAGS) -g0 -c -o $@ $<
|
|
|