mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
ok
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@565 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -14,3 +14,6 @@
|
||||
/resource/doxygen-theme/* linguist-generated
|
||||
/src/icon/*.c linguist-generated
|
||||
/src/font/*.c linguist-generated
|
||||
/BorMakefile linguist-generated
|
||||
/WatMakefile linguist-generated
|
||||
/NTMakefile linguist-generated
|
||||
|
||||
@@ -24,7 +24,7 @@ option(USE_FDLIBM "Use fdlibm" OFF)
|
||||
file(
|
||||
GLOB
|
||||
SOURCES
|
||||
src/*.c src/cursor/*.c src/icon/*.c src/text/*.c src/widget/*.c external/*.c
|
||||
src/*.c src/cursor/*.c src/icon/*.c src/text.c src/widget/*.c src/math/*.c src/font/*.c src/color_picker/*.c external/*.c
|
||||
)
|
||||
|
||||
if(NOT OPENGL)
|
||||
@@ -153,6 +153,12 @@ else()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set_source_files_properties(
|
||||
src/math/mmx.c
|
||||
PROPERTIES
|
||||
COMPILE_FLAGS -mmmx
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
Mw
|
||||
PRIVATE
|
||||
|
||||
@@ -76,6 +76,9 @@ examples/gldemos/%$(EXEC): examples/gldemos/%.o src/$(LIB)Mw$(SO)
|
||||
examples/%$(EXEC): examples/%.o src/$(LIB)Mw$(SO)
|
||||
$(CC) $(E_LDFLAGS) -o $@ $< $(E_LIBS)
|
||||
|
||||
src/math/mmx.o: src/math/mmx.c
|
||||
$(CC) $(L_CFLAGS) -mmmx -c -o $@ $<
|
||||
|
||||
src/%.o: src/%.c
|
||||
$(CC) $(L_CFLAGS) -c -o $@ $<
|
||||
|
||||
|
||||
@@ -27,8 +27,6 @@ FOUND_PLATFORM = 1
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET),Windows)
|
||||
CFLAGS += -mmmx
|
||||
|
||||
WINDOWS = 1
|
||||
OPENGL = 1
|
||||
VULKAN = 1
|
||||
|
||||
Reference in New Issue
Block a user