Simplify data structures usage
This commit is contained in:
@@ -26,7 +26,6 @@ OBJS= \
|
||||
$(BUILDDIR)/GameLib/GameLib.o \
|
||||
|
||||
|
||||
|
||||
#####################
|
||||
# Game Declarations #
|
||||
#####################
|
||||
@@ -38,11 +37,6 @@ OBJS+= \
|
||||
$(BUILDDIR)/main.o
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#################
|
||||
# General Rules #
|
||||
#################
|
||||
@@ -59,9 +53,6 @@ run: $(BUILDDIR)/$(RESULT)
|
||||
./$(BUILDDIR)/$(RESULT) debug
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#################
|
||||
# GameLib Rules #
|
||||
#################
|
||||
@@ -85,7 +76,6 @@ $(BUILDDIR)/GameLib/GameLib.o: GameLib/GameLib.c $(HEADS)
|
||||
$(CC) -c GameLib/GameLib.c -o $(BUILDDIR)/GameLib/GameLib.o $(CFLAGS)
|
||||
|
||||
|
||||
|
||||
##############
|
||||
# Game Rules #
|
||||
##############
|
||||
@@ -99,6 +89,11 @@ $(BUILDDIR)/GameMap.o: GameMap.c $(HEADS)
|
||||
$(BUILDDIR)/main.o: main.c $(HEADS)
|
||||
$(CC) -c main.c -o $(BUILDDIR)/main.o $(CFLAGS)
|
||||
|
||||
|
||||
################
|
||||
# Result Rules #
|
||||
################
|
||||
|
||||
$(BUILDDIR)/$(RESULT): $(OBJS)
|
||||
$(CC) -o $(BUILDDIR)/$(RESULT) $(OBJS) $(LIBS) $(CFLAGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user