Commits

Richard Goedeken committed b2321b0

fixes from Tim Dickson in GC issue 1

Comments (0)

Files changed (1)

 
 # base CFLAGS, LIBS, and LDFLAGS
 CFLAGS += -ffast-math -funroll-loops -fexpensive-optimizations -fno-strict-aliasing -I$(INCPATH)
-LDFLAGS += -O3 -L/usr/X11R6/lib -lSDL-1.2 -lGL -lGLU
+LDFLAGS += -O3 -L/usr/X11R6/lib $(shell sdl-config --libs) -lGL -lGLU
 ASFLAGS += -f elf -DCFG_LINUX
 
 # set special flags per-system
 install: $(EXEPATH)/$(TARGET)
 	$(INSTALL) -d -v "$(DESTDIR)$(BINDIR)"
 	$(INSTALL) -m 0755 $(EXEPATH)/$(TARGET) "$(DESTDIR)$(BINDIR)"
+	$(CP) $(DATAPATH)/* "$(DESTDIR)$(BINDIR)"
 
 uninstall:
 	rm -f "$(DESTDIR)$(BINDIR)/$(TARGET)"