summaryrefslogtreecommitdiff
blob: 394d297216b28a1d79d9c0089454221a0aa271be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- Makefile
+++ Makefile
@@ -1,5 +1,5 @@
-CC = gcc
-CFLAGS = -O2 -g `gtk-config --cflags`
+CC ?= gcc
+CFLAGS += `gtk-config --cflags`
 LIBS = `gtk-config --libs gthread `
 LIBPATH = -L/usr/X11R6/lib -lpthread
 OBJECTS = ui.o net.o misc.o widgets.o configfile.o queue.o sort.o
@@ -26,3 +26,6 @@
 SwiftFXP: $(OBJECTS)
 	$(CC) $(CFLAGS) -o SwiftFXP $(OBJECTS) $(LIBS) $(LIBPATH)
 
+install:
+	install -m 0755 -d $(DESTDIR)/usr/bin
+	install -m 0755 SwiftFXP $(DESTDIR)/usr/bin