/make/edam-mk

To get this branch, use:
bzr branch http://bzr.ed.am/make/edam-mk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: edam
  • Date: 2009-03-05 13:21:22 UTC
  • Revision ID: edam@waxworlds.org-20090305132122-lwtwrlwj19z7x792
Tags: 1.02
switched compiler to g++

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
2
# Target binary
3
3
#
4
 
TARGET          = digest
 
4
TARGET          = simplecrypt
5
5
 
6
6
#
7
7
# All source files
8
8
#
9
 
CC_SRCS         =
10
 
C_SRCS          = digest.c
11
 
S_SRCS          =
 
9
CC_SRCS         = simplecrypt.cc
 
10
C_SRCS          = 
 
11
S_SRCS          = 
12
12
 
13
13
#
14
14
# Build flags
15
15
#
16
16
#CFLAGS=-g
17
 
LDFLAGS=-lcrypt -lssl
 
17
#LDFLAGS=
18
18
 
19
19
 
20
20
#---------------------------------------------------------------------------
21
 
# Edam's makefile v1.0
 
21
# Edam's makefile r1.02
22
22
 
23
23
# More variables...
24
24
DEPFILE         = Depends
25
 
SRCS            = $(C_SRCS) $(CC_SCRS) $(S_SRCS)
 
25
SRCS            = $(C_SRCS) $(CC_SRCS) $(S_SRCS)
26
26
OBJS            = $(addsuffix .o,$(basename $(SRCS)))
27
27
 
28
28
# Main rule...
29
29
$(TARGET): $(OBJS)
30
 
        $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
 
30
        g++ -o $(TARGET) $(OBJS) $(LDFLAGS)
31
31
 
32
32
#---------------------------------------------------------------------------
33
33