cairo sample: update makefiles

git-svn-id: svn://kolibrios.org@6075 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-01-18 17:18:06 +00:00
parent adda605e2e
commit 17e7367bdd
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCES))
default: cairo
cairo: $(OBJECTS) Makefile
$(LD) $(LDFLAGS) $(LIBPATH) -Map cairo.map -o cairo $(OBJECTS) -lcairo2.dll -lgcc -lc.dll -lapp
$(LD) $(LDFLAGS) $(LIBPATH) --subsystem native -Map cairo.map -o cairo $(OBJECTS) -lcairo2.dll -lgcc -lc.dll -lapp
objcopy cairo -O binary
%.o : %.c Makefile $(SOURCES)

View File

@ -19,7 +19,7 @@ OBJECTS = $(patsubst %.c, %.o, $(SOURCES))
default: cairo
cairo: $(OBJECTS) Makefile.static
$(LD) $(LDFLAGS) $(LIBPATH) -Map cairo.map -o cairo $(OBJECTS) -lcairo2 -lpixman-1 -lfreetype -lc -lgcc -lc
$(LD) $(LDFLAGS) $(LIBPATH) --subsystem console -Map cairo.map -o cairo $(OBJECTS) -lcairo2 -lpixman-1 -lfreetype -lc -lgcc -lc
objcopy cairo -O binary
%.o : %.c Makefile $(SOURCES)