X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=mopice.git;a=blobdiff_plain;f=makefile;h=7c26d4de5a6ea51cec7d15f1f8cccc54ad75e9d6;hp=b78d6a482c343fa5557f8ee2eedcfbc1b5119388;hb=HEAD;hpb=dcf07fc045d19295fea79ffd9e8ce539d6b00f53 diff --git a/makefile b/makefile index b78d6a4..7c26d4d 100644 --- a/makefile +++ b/makefile @@ -7,19 +7,19 @@ EXE=mopice showwave greetings OBJ=mopice.o PKGNAME=mopice TARGET=$(EXE) - +CFLAGS=-Wall -g -ggdb CC?=gcc ALL: $(TARGET) mopice: mopice.c mopice.h - $(CC) -g -ggdb -lrt -o $@ $< + $(CC) $(CFLAGS) -lrt -o $@ $< showwave: showwave.c - $(CC) -g -ggdb -o $@ $< + $(CC) $(CFLAGS) -o $@ $< greetings: greetings.c - $(CC) -g -ggdb -o $@ $< + $(CC) $(CFLAGS) -o $@ $< clean: rm -f $(EXE) $(OBJ) *~ $(TARGET)