diff options
author | B. Stack <bgstack15@gmail.com> | 2022-10-10 10:34:56 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-10-10 10:34:56 -0400 |
commit | 4767a3eb78e2e8286160000c203d1b91357614f7 (patch) | |
tree | b3ecf8f3ba45c40f95efc8bc024e36cd5a61a8ed /Makefile.common | |
parent | readd all images (diff) | |
download | fbxkb-4767a3eb78e2e8286160000c203d1b91357614f7.tar.gz fbxkb-4767a3eb78e2e8286160000c203d1b91357614f7.tar.bz2 fbxkb-4767a3eb78e2e8286160000c203d1b91357614f7.zip |
original 0.6 source codeorig
from debian's orig.tar.gz. The original app is from sourceforge:
https://fbxkb.sourceforge.net/index.html
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile.common b/Makefile.common index 1094938..8d5c4ef 100644 --- a/Makefile.common +++ b/Makefile.common @@ -15,15 +15,10 @@ endif endif endif -ifdef DESTDIR -PREFIX := $(DESTDIR)/$(PREFIX) -endif - CC = gcc -PKG_CONFIG ?= pkg-config -LIBS = -lX11 $(shell $(PKG_CONFIG) --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu -INCS = $(shell $(PKG_CONFIG) --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -CFLAGS ?= -O2 # overwriten by command line or env. variable +LIBS = $(shell pkg-config --libs gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) -L/usr/X11R6/lib -lXmu +INCS = $(shell pkg-config --cflags gtk+-2.0 gdk-pixbuf-2.0 gdk-pixbuf-xlib-2.0) +CFLAGS = -O2 # overwriten by command line or env. variable CFLAGS += -Wall # always nice to have ifneq (,$(DEVEL)) CFLAGS := -g -Wall @@ -33,10 +28,10 @@ endif CFLAGS += -g -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED %.o: %.c - $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -c $< + $(CC) $(CFLAGS) $(INCS) -c $< %.dep: %.c - $(CC) $(CPPFLAGS) $(CFLAGS) $(INCS) -MM $< -o $@ + $(CC) $(CFLAGS) $(INCS) -MM $< -o $@ .PHONY: all clean distclean install uninstall |