modularization of c_index, basic balls data.
This commit is contained in:
7
Makefile
7
Makefile
@ -8,6 +8,7 @@ CFLAGS=-Wall -g -O2 $(PROFILING_CFLAGS) $(GTK_CFLAGS)
|
||||
LIBS=$(GTK_LIBS) -lm
|
||||
|
||||
PROGS=balls
|
||||
OBJS=balls.o c_index.o
|
||||
|
||||
.PHONY: default
|
||||
default: all
|
||||
@ -19,9 +20,9 @@ run: balls
|
||||
.PHONY: all
|
||||
all: $(PROGS)
|
||||
|
||||
balls: balls.o
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
|
||||
balls: $(OBJS)
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS) -o $@
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f *.o $(PROGS)
|
||||
rm -f *.o $(PROGS) $(OBJS)
|
||||
|
Reference in New Issue
Block a user