summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-02-15 17:18:50 (EST)
committer P. J. McDermott <pjm@nac.net>2013-02-15 17:18:50 (EST)
commit155983d543d024ed953d0d8301ddbca1d20c3142 (patch)
tree7ca496de720e0beca57dbd09a7de5de7e49a9c96 /Makefile
parent858fa5782ff29ce007e3f50a257efb7014cf556e (diff)
downloadoverworld-rpg-155983d543d024ed953d0d8301ddbca1d20c3142.zip
overworld-rpg-155983d543d024ed953d0d8301ddbca1d20c3142.tar.gz
overworld-rpg-155983d543d024ed953d0d8301ddbca1d20c3142.tar.bz2
Use GNU Autoconf and Automake.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 0 insertions, 22 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 2648c43..0000000
--- a/Makefile
+++ /dev/null
@@ -1,22 +0,0 @@
-.SUFFIXES =
-.SUFFIXES = .c .h .o
-
-CC = gcc
-CFLAGS = -Wall -Wextra -Werror -g
-
-SRCS = src/main.c src/init.c src/logging.c \
- src/base64.c src/compression.c \
- src/tmx.c src/resources/resource.c src/resources/image.c
-OBJS = $(SRCS:.c=.o)
-LIBS = sdl SDL_image zlib expat
-
-all: sdlex
-
-sdlex: $(OBJS)
- $(CC) $(LDFLAGS) -o sdlex $$(pkg-config --libs $(LIBS)) $(OBJS)
-
-.c.o:
- $(CC) -c $(CFLAGS) -o $*.o $$(pkg-config --cflags $(LIBS)) $<
-
-clean:
- rm -f $(OBJS) sdlex