]> git.wh0rd.org - ICEs.git/blob - 178979/Makefile
more
[ICEs.git] / 178979 / Makefile
1 OBJCOPY ?= objcopy
2 CFLAGS += -g -Wall -O0 -pipe
3
4 all: test.dbg
5 $(OBJCOPY) --strip-debug test
6 $(OBJCOPY) --add-gnu-debuglink=test.dbg test
7
8 test.dbg: test
9 $(OBJCOPY) --only-keep-debug test test.dbg
10
11 clean:
12 rm -f test test.dbg
13
14 .PHONY: all clean