add Makefile.true

This commit is contained in:
wdlkmpx 2021-01-25 14:15:02 +08:00
parent a9c45a9f9d
commit ceb6ae60b5
2 changed files with 24 additions and 2 deletions

24
src/Makefile.true Normal file
View File

@ -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)

View File

@ -28,8 +28,6 @@
#include <sys/stat.h>
#include <unistd.h>
#include "config.h"
#include "config_prefs.h"
#include "gtkcompletionline.h"