Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

the BEST Makefile !!

Name: Anonymous 2011-02-21 13:45

presenting: the BEST Makefile !!


CC     = gcc
LFLAGS = -g
CFLAGS = -g -Wall

SOURCES := $(shell ls *.c)
OBJECTS = $(SOURCES:.c=.o)

all:    $(OBJECTS)
    $(CC) $(LFLAGS) $(OBJECTS)

depends: $(shell ls *.c *.h)
    $(CC) *.c -MM > depends

clean:
    rm -f a.out depends $(OBJECTS)

count:
    wc *.c *.h Makefile

-include depends

Name: Anonymous 2011-02-22 1:41

>>18
Failed attempt giving my anus a haxed status.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List