better and smaller makefile

master
Alessandro Mauri 4 years ago
parent cfa250ec2a
commit 9075ceada1
  1. 8
      makefile

@ -1,12 +1,10 @@
CC = gcc CC = gcc
CFLAGS = -Wall -pedantic --std=c99 -O2 CFLAGS = -Wall -pedantic --std=c99 -O2
bmon: bmon.o bmon: bmon.c
dbg: dbg:
gcc $(CFLAGS) -g bmon.c -o bmon-dbg gcc -O0 -g bmon.c -o bmon-dbg
bmon.o: bmon.c
clean: clean:
rm *.o bmon bmon-dbg 2> /dev/null rm -f bmon bmon-dbg

Loading…
Cancel
Save