helloworld/Makefile
2018-01-10 21:19:00 +01:00

12 lines
247 B
Makefile

CC=gcc
CFLAGS="-Wall"
debug:clean
$(CC) $(CFLAGS) -g -o helloworld helloworld.c
stable:clean
$(CC) $(CFLAGS) -o helloworld helloworld.c
asm:clean
yasm -f elf -o helloasm helloworld.asm
chmod +x helloasm
clean:
rm -vfr *~ helloworld helloasm