add Makefile.true
This commit is contained in:
parent
a9c45a9f9d
commit
ceb6ae60b5
|
@ -0,0 +1,24 @@
|
||||||
|
PROGRAM = gmrun
|
||||||
|
OBJS = config_prefs.o gtkcompletionline.o history.o main.o
|
||||||
|
BIN_PATH = /usr/local/bin
|
||||||
|
CC = gcc
|
||||||
|
|
||||||
|
CFLAGS = `pkg-config gtk+-2.0 --cflags` -Wall -O2
|
||||||
|
LIBS = `pkg-config gtk+-2.0 --libs`
|
||||||
|
|
||||||
|
all: $(OBJS)
|
||||||
|
$(CC) $(CFLAGS) $(OBJS) -o $(PROGRAM) $(LIBS)
|
||||||
|
|
||||||
|
strip:
|
||||||
|
strip $(PROGRAM)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.o *~ $(PROGRAM)
|
||||||
|
|
||||||
|
install:
|
||||||
|
mkdir -p $(DESTDIR)$(BIN_PATH)
|
||||||
|
install $(PROGRAM) $(DESTDIR)$(BIN_PATH)
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm -i $(DESTDIR)$(BIN_PATH)/$(PROGRAM)
|
||||||
|
|
|
@ -28,8 +28,6 @@
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
#include "config_prefs.h"
|
#include "config_prefs.h"
|
||||||
#include "gtkcompletionline.h"
|
#include "gtkcompletionline.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue