aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorSamuel G. Fadel <samuelfadel@gmail.com>2013-03-09 21:34:52 -0300
committerSamuel G. Fadel <samuelfadel@gmail.com>2013-03-09 21:34:52 -0300
commita070dd2988908a307c4703e3290d656c1b3df3cb (patch)
treebbe6ea521d38be63905561f2d881d9733e7cb963 /src/Makefile
parent11942d1266298d14054f4952a8959e0703664cff (diff)
Makefile: moved away from src/ and added a new target: dist
T.desktop: moved away from src/ PKGBUILD: updated with new version, sha1sum is wrong
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/Makefile b/src/Makefile
deleted file mode 100644
index 64da6b3..0000000
--- a/src/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-PREFIX = /usr
-
-INCS = `pkg-config --cflags gtk+-2.0 vte`
-LIBS = `pkg-config --libs gtk+-2.0 vte`
-CFLAGS = -ansi -pedantic -Wall -O3 ${INCS}
-LDFLAGS = -s ${LIBS}
-CC = cc
-
-SRC = T.c
-OBJ = ${SRC:.c=.o}
-
-all: T
-
-.c.o:
- @echo CC $<
- @${CC} -c ${CFLAGS} $<
-
-${OBJ}: config.h
-
-T: ${OBJ}
- @echo CC -o $@
- @${CC} -o $@ ${OBJ} ${LDFLAGS}
-
-clean:
- @echo cleaning
- @rm -rf T ${OBJ}
-
-install: all
- @echo installing executable file to ${DESTDIR}${PREFIX}/bin
- @install -D -m755 T ${DESTDIR}${PREFIX}/bin/T
- @echo installing icon to ${DESTDIR}${PREFIX}/share/applications
- @install -D -m644 T.desktop ${DESTDIR}${PREFIX}/share/applications/T.desktop