Makefile: output binaries under bin/
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
3ae3c41256
commit
63b1706de8
5 changed files with 29 additions and 29 deletions
|
@ -5,9 +5,9 @@ override LIBS +=
|
|||
override CFLAGS += -std=c99 -Os -Wall -Wextra -static
|
||||
|
||||
pause: $(obj)
|
||||
$(CC) -o $@ $^ $(CFLAGS) $(LIBS)
|
||||
strip $@
|
||||
$(CC) -o ../bin/$@ $^ $(CFLAGS) $(LIBS)
|
||||
strip ../bin/$@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(obj) pause
|
||||
rm -f $(obj) ../bin/pause
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue