forked from hyperyoda/netrek-client-brmh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Netrek.rules
19 lines (18 loc) · 964 Bytes
/
Netrek.rules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
* NormalProgramTargetRandomize
*/
#ifndef NormalProgramTargetRandomize
#define NormalProgramTargetRandomize(program,objects,deplibs,locallibs,syslibs,rnd) @@\
program:$(P) objects deplibs rnd @@\
RemoveTargetProgram($@) @@\
$(CC) -o $@ `rnd objects` $(LDOPTIONS) locallibs $(LDLIBS) syslibs $(EXTRA_LOA D_FLAGS) @@\
@@\
clean:: @@\
$(RM) program
#endif /* NormalProgramTargetRandomize */
#ifndef Protos
#define Protos(proto, src) @@\
protos:: @@\
$(RM) proto @@\
cproto -e -f3 -m -D__STDC__ -D_NO_DEPEND -DCPROTO $(EXTRA_DEFINES) $(ALLINCLUDES) src > proto
#endif /* Protos */