-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
57 lines (46 loc) · 1.27 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#-------------------------------------------------------------------------------
# AUTOR
# Aurea Desarrollo Tecnológico.
# FECHA
# Notas:
#-------------------------------------------------------------------------------
APPNAME = tcpSocket
#Compiler:
CC=g++
#Compiler flags
CFLAGS=-c -g -Wall
INCLUIDES=$(shell pkg-config --cflags gtk+-2.0 libgnomeui-2.0)
LIBS=$(shell pkg-config --libs gtk+-2.0 libgnomeui-2.0)
#Directories
DIRlib= /usr/local/lib
incDIR= /usr/local/include
libADT= /home/mchc/aurea/cpp/programs/ADTlib-0.0.1
#main function
mainP= main
callbacks = My_callbacks
guiClass = My_guiClass
#-------------------------------------------------------------------------------
all: Project
Project: mainP.o guiClass.o callbacks.o ADT_TCPSocket.o ADT_GTK.o
$(CC) -export-dynamic -o $(APPNAME) \
$(LIBS) \
$(mainP).o \
$(guiClass).o \
$(callbacks).o \
ADT_TCPSocket.o \
ADT_GTK.o
mainP.o: $(mainP).cpp
$(CC) $(INCLUIDES) $(CFLAGS) \
$(mainP).cpp
guiClass.o: $(guiClass).cpp
$(CC) $(INCLUIDES) $(CFLAGS) \
$(guiClass).cpp
callbacks.o: $(callbacks).cpp
$(CC) $(INCLUIDES) $(CFLAGS) \
$(callbacks).cpp
ADT_TCPSocket.o: ADT_TCPSocket.cpp
$(CC) $(INCLUIDES) $(CFLAGS) \
ADT_TCPSocket.cpp
ADT_GTK.o: ADT_GTK.cpp
$(CC) $(INCLUIDES) $(CFLAGS) \
ADT_GTK.cpp