mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Changed to support linux build
svn path=/trunk/; revision=765
This commit is contained in:
parent
44866ccf87
commit
5bc02dd95a
1 changed files with 9 additions and 12 deletions
|
@ -1,25 +1,22 @@
|
|||
# $Id: Makefile,v 1.1 1999/11/07 08:03:21 ea Exp $
|
||||
# $Id: Makefile,v 1.2 1999/11/11 21:22:08 rex Exp $
|
||||
#
|
||||
|
||||
BASE_CFLAGS = -I../../include
|
||||
TARGETNAME=buildno
|
||||
CLEAN_FILES= $(TARGETNAME).o $(TARGETNAME).exe $(TARGETNAME).sym
|
||||
CLEAN_FILES= $(TARGETNAME).o $(TARGETNAME)$(EXE_POSTFIX) $(TARGETNAME).sym
|
||||
|
||||
all: $(TARGETNAME)$(EXE_POSTFIX)
|
||||
$(TARGETNAME)$(EXE_POSTFIX) -q
|
||||
|
||||
$(TARGETNAME)$(EXE_POSTFIX): $(TARGETNAME).o
|
||||
$(CC) -o $(TARGETNAME)$(EXE_POSTFIX) $(TARGETNAME).o
|
||||
$(NM) --numeric-sort $(TARGETNAME)$(EXE_POSTFIX) > $(TARGETNAME).sym
|
||||
$(TARGETNAME)$(EXE_POSTFIX): $(TARGETNAME).c ../../include/reactos/version.h
|
||||
$(NATIVE_CC) -I../../include -o $(TARGETNAME)$(EXE_POSTFIX) $(TARGETNAME).c
|
||||
|
||||
$(TARGETNAME).o: $(TARGETNAME).c ../../include/reactos/version.h
|
||||
clean:
|
||||
$(RM) $(TARGETNAME).o
|
||||
$(RM) $(TARGETNAME).sym
|
||||
$(RM) $(TARGETNAME)$(EXE_POSTFIX)
|
||||
|
||||
clean: $(CLEAN_FILES:%=%_clean)
|
||||
|
||||
$(CLEAN_FILES:%=%_clean): %_clean:
|
||||
- $(RM) $*
|
||||
|
||||
.phony: clean $(CLEAN_FILES:%=%_clean)
|
||||
.phony: clean
|
||||
|
||||
include ../../rules.mak
|
||||
|
||||
|
|
Loading…
Reference in a new issue