blob: 3a1d309ef3e4f8d2b8d5bdb6b0037173e8fb06c6 (
plain)
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
|
SYRINGE = .
# The name of the C++ compiler
CC = g++
# Flags to send the compiler (change the last two with care...)
CFLAGS = -g -Wno-deprecated
# Object, Runnable and Include directories
ODIR = $(SYRINGE)/obj
RDIR = $(SYRINGE)/bin
SDIR = $(SYRINGE)/src
IDIR = $(SYRINGE)/include
# Syringe program
syringe: $(ODIR)/syringe.o
$(CC) -o $(RDIR)/syringe $(ODIR)/syringe.o
clean:
rm -f $(ODIR)/*; rm -f $(RDIR)/*
# Make the objects
$(ODIR)/syringe.o: $(SDIR)/syringe.cxx $(IDIR)/syringe.h
$(CC) -c $(CFLAGS) -I$(SYRINGE)/include -o $(ODIR)/syringe.o $(SDIR)/syringe.cxx
|