Browse Source

better and smaller makefile

master
Alessandro Mauri 11 months ago
parent
commit
9075ceada1
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      makefile

+ 3
- 5
makefile View File

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

Loading…
Cancel
Save